-----------------------------------
-- 	Guide Stone
-- 	Normal Text
-----------------------------------
require("/scripts/globals/settings");	
require("/scripts/globals/fieldsofvalor");	
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(player,npc)
local npc = GetNPCByID(17780972);
       player:delValorPoint(50);
		toHomeNation(player);
		player:messageSpecial(6393); -- sense of forboding
		player:messageSpecial(6432,9001); --over 9k
        player:messageSpecial(6434); -- you have entered belegerncy		
	    player:messageSpecial(6390,4306); -- donko returned to u
		player:messageSpecial(6394); -- now is not the time for that!
	    npc:setAnimation(56) -- moogle in disaray: xp buff on
		npc:setPos(-18,0,-1,25) --set to normal position/face
	    player:addStatusEffect(EFFECT_RERAISE,1,0,7200);
	 player:addStatusEffect(EFFECT_DEDICATION,100,0,43200);
     player:addMod(MOD_DEDICATION_CAP, 3000);
	  --npc:setAnimation(1) -- Moogle in normal porter mode (arms crossed)

		player:addStatusEffect(EFFECT_REGAIN,100,0,90);	
end; 

-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end; 
 
  
-----------------------------------
-- onEventFinish Action
-----------------------------------
function onEventFinish(player,csid,option)
--print("CSID:",csid);
--print("RESULT:",option);
end;